package com.gitee.wsl.markdown.image

/**
 * @since 1.0.1
 */
class ImageSize(val width: Dimension?, val height: Dimension?) {
    class Dimension(val value: Float, val unit: String?) {
        override fun toString(): String {
            return "Dimension{" +
                    "value=" + value +
                    ", unit='" + unit + '\'' +
                    '}'
        }
    }

    override fun toString(): String {
        return "ImageSize{" +
                "width=" + width +
                ", height=" + height +
                '}'
    }
}